gh-138489: Add build-details.json generation to PC/layout#149153
Conversation
|
Supersedes #138490, and deliberately omits changes to the (deprecated) MSI installer, largely because there's no real value in dealing with the complexity of having multiple overlapping installs. |
Documentation build overview
14 files changed ·
|
|
@hugovk Any chance of a beta 2 exception for this one (adds a new file to the file system layout)? No functional change to the runtime, and the PEP isn't new, we just never got around to implementing it for Windows until now. |
|
@zooba Yes, that's fine. Thanks for working on this. |
|
For reviewers' sake, here's a sample file as generated by this script for a regular amd64 release from main: {
"schema_version": "1.0",
"base_prefix": ".",
"base_interpreter": "python.exe",
"platform": "win-amd64",
"language": {
"version": "3.16",
"version_info": {
"major": 3,
"minor": 16,
"micro": 0,
"releaselevel": "alpha",
"serial": 0
}
},
"implementation": {
"name": "cpython",
"cache_tag": "cpython-316",
"version": {
"major": 3,
"minor": 16,
"micro": 0,
"releaselevel": "alpha",
"serial": 0
}
},
"abi": {
"flags": [],
"extension_suffix": ".cp316-win_amd64.pyd",
"stable_abi_suffix": ".pyd"
},
"suffixes": {
"source": [
".py"
],
"bytecode": [
".pyc"
],
"extensions": [
".cp316-win_amd64.pyd",
".pyd"
]
},
"libpython": {
"dynamic": "python316.dll",
"dynamic_stableabi": "python3.dll",
"link_extensions": true
},
"c_api": {
"headers": "Include"
}
} |
chris-eibl
left a comment
There was a problem hiding this comment.
LGTM. I am away from my dev box, though, and thus couldn't test locally.
This reverts commit 6f30ea8.
|
Whoops, pushed test fixes for the wrong PR. Reverted now - sorry Vinay |
build-details.jsonis missing on some platforms #138489